package com.cqut.forum.dao;

import java.util.List;
import java.util.Map;

import com.cqut.forum.entity.UserNews;

/**
 * 用户数据访问层
 * @author yangxun
 */
public interface UserNewsDao extends BaseDao {
	
	//public int getFriendUnreadNotice(int userId);
	
	public int getCareUnreadNotice(int userId);

	public int getArticleUnreadNotice(int userId,int moduleId);
	
	public int getDiscussUnreadNotice(int userId,int moduleId);
	
	public int getPictureUnreadNotice(int userId);
	//public int getNoticeByModule(int userId,String moduleName);
	
	public List<Map<String, Object>> getVisitOther(int userId,int index,int size);
	
	public List<?> getVisitMe(int userId);
	
	public UserNews isVisited(int visitor,int userId);

	/*public List<Map<String, Object>> getMessages(int userId,int moduleId,int index,int size);
	
	public List<Map<String, Object>> getMessageReply(List<Integer> articleIds);

	public boolean haveReadMyMessages(int userId,int moduleId);*/
}
